IF (FREETYPE_LIBRARY)
	INCLUDE_DIRECTORIES( ${FREETYPE_INCLUDE_DIRS})
	IF (ICONV_FOUND)
		INCLUDE_DIRECTORIES( ${ICONV_INCLUDE_DIR} )
	ENDIF ()

	ADD_GEMRB_PLUGIN (TTFImporter TTFFontManager.cpp TTFFont.cpp Freetype.cpp)
	TARGET_LINK_LIBRARIES( TTFImporter ${FREETYPE_LIBRARY} )
	IF (ICONV_FOUND)
		TARGET_LINK_LIBRARIES(TTFImporter ${ICONV_LIBRARY} ${CHARSET_LIBRARY})
	ENDIF ()
ENDIF (FREETYPE_LIBRARY)
